package com.meeting.project.business.record.domain;

import java.io.Serializable;

import org.apache.commons.lang3.builder.ToStringBuilder;

/**
 * @Description: 饼图数据
 * @ClassName: SeriesData
 * @Author: llmaoa
 * @Date: 2025/8/5 16:57
 * @Version: 1.0
 */
public class SeriesData implements Serializable {
    private static final long serialVersionUID = 1L;

    public SeriesData(Integer value, String name) {
        this.value = value;
        this.name = name;
    }

    public SeriesData() {
    }

    private Integer type;
    /**
     * 名称
     */
    private String name;

    /**
     * 值
     */
    private Integer value;

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this)
                .append("type", type)
                .append("name", name)
                .append("value", value)
                .toString();
    }
}
